@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700);
@import url(https://fonts.googleapis.com/css?family=Pacifico);
* {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

body {
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #E4E4E4;
}

::selection {
    color: #fff;
    background: #CC4646;
}

::-moz-selection {
    color: #fff;
    background: #CC4646;
}

p {
    color: #858585;
    line-height: 22px;
}

a {
    color: #CC4646;
    text-decoration: none;
    text-shadow: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

a:hover {
    color: #DF3927;
    text-decoration: none;
}

#top {
    position: relative;
}

.topHome {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background: #CC4646;
}

.topHome .fa-2x {
    font-size: 20px;
    color: #fff;
    margin: 4px;
}

/* Header 
----------------------------------------------*/

.header {
    position: fixed;
    width: 100%;
    background: #CC4646;
    z-index: 50;
    border-radius: 0;
    top: 0px;
    border-bottom: 1px solid #F57676;
}

.navbar-inverse .navbar-toggle {
    border-color: #CC4646;
    background-color: #CC4646;
}

.header .navbar {
    margin: 0;
    background: transparent !important;
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background: #CC4646;
}

.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
    color: #CC4646;
}

.navbar-inverse .navbar-toggle:hover .icon-bar {
    background: #fff;
}

.navbar-inverse .navbar-nav>li>a {
    color: #FFB8B8;
}

.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
    color: #FFFFFF;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
    color: #FFFFFF;
    background: none;
}

/*----Nav ----*/

.header .navbar-brand {
    float: left;
    padding: 16px 15px;
    line-height: 18px;
    height: 50px;
    /*color:#CC4646;*/
    ;
}

.navbar-brand b {
    color: #fff;
    font-family: 'Pacifico', cursive;
    font-weight: 400;
}

.logo {
    font-size: 2.2em;
    text-shadow: none;
    margin: 8px 0 0 0;
}

.logo:hover {
    color: #5A5A5A;
}

.header .navbar {
    margin: 0;
    background: #fff;
    border: 0;
}

.navbar-inverse .navbar-nav>li>a {
    font-size: 1.2em;
    line-height: normal;
    margin: 17px;
    padding: 6px 10px !important;
    border-radius: 5px;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
    color: #fff;
    background: none;
}

.navbar-nav>li:hover>a {
    color: #fff;
}

.header .navbar-nav>li>a {
    padding: 25px 18px;
    text-transform: uppercase;
}

/*--- Banner ----*/

.banner-container {
    width: 100%;
    position: relative;
    padding: 0px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
    /*background: url("../images/banner-bg.jpg") no-repeat;*/
    background-size: 100% 100%;
    background-size: cover;
    margin-top: 60px;
}

.banner-container>img {
    width: 100%;
}

.banner-content {
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 0px;
    right: 0px;
}

.banner-content h2 {
    color: #fff;
    font-size: 3.5em;
    margin: 2% 0 30px;
    line-height: 1.2em;
}


@keyframes warn {
    0% {
        transform: scale(0.3);
        -webkit-transform: scale(0.3);
        opacity: 0.0;
    }
    25% {
        transform: scale(0.3);
        -webkit-transform: scale(0.3);
        opacity: 0.1;
    }
    50% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
        opacity: 0.3;
    }
    75% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 0.0;
    }
}
@keyframes warn1 {
    0% {
        transform: scale(0.3);
        -webkit-transform: scale(0.3);
        opacity: 0.0;
    }
    25% {
        transform: scale(0.3);
        -webkit-transform: scale(0.3);
        opacity: 0.1;
    }
    50% {
        transform: scale(0.3);
        -webkit-transform: scale(0.3);
        opacity: 0.3;
    }
    75% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        opacity: 0.0;
    }
}
@-webkit-keyframes "warn" {
    0% {
        transform: scale(0);
        -webkit-transform: scale(0);
        opacity: 0.0;
    }
    25% {
        transform: scale(0);
        -webkit-transform: scale(0);
        opacity: 0.1;
    }
    50% {
        transform: scale(0.1);
        -webkit-transform: scale(0.1);
        opacity: 0.3;
    }
    75% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 0.0;
    }
}

/* 保持大小不变的小圆圈  */
.personal-img {
    position: absolute;
    width: 200px;
    height: 200px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    z-index: 2;
    border: 3px solid white;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.personal-img img {
    width: 194px;
    height: 194px;
    border-radius: 50%;
}

/* 产生动画（向外扩散变大）的圆圈  */
.pulse {
    position: absolute;
    width: 500px;
    height: 500px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 10px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    -webkit-animation: warn 2s ease-out;
    -moz-animation: warn 2s ease-out;
    animation: warn 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    box-shadow: 1px 1px 50px #fff;

}
.pulse1 {
    position: absolute;
    width: 500px;
    height: 500px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 10px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    -webkit-animation: warn1 2s ease-out;
    -moz-animation: warn1 2s ease-out;
    animation: warn1 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    box-shadow: 1px 1px 50px #fff;
}

@media (max-width: 768px) {
    .personal-img {
        position: absolute;
        width: 70px;
        height: 70px;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 50%;
        border: 2px solid white;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .personal-img img {
        width: 66px;
        height: 66px;
        border-radius: 50%;
    }
    .pulse {
        position: absolute;
        width: 130px;
        height: 130px;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border: 5px solid #fff;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        z-index: 1;
        opacity: 0;
        -webkit-animation: warn 2s ease-out;
        -moz-animation: warn 2s ease-out;
        animation: warn 2s ease-out;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        box-shadow: 1px 1px 20px #fff;
    
    }
    .pulse1 {
        position: absolute;
        width: 130px;
        height: 130px;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border: 5px solid #fff;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        z-index: 1;
        opacity: 0;
        -webkit-animation: warn1 2s ease-out;
        -moz-animation: warn1 2s ease-out;
        animation: warn1 2s ease-out;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        box-shadow: 1px 1px 20px #fff;
    }
}

.banner-content p {
    font-size: 1.6em;
    font-weight: normal;
    font-style: normal;
    color: #fff;
}

.da-slider {
    margin: 0 auto !important;
}

/* About */

.heading {
    padding: 3px 10px;
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: block;
}

.heading p {
    font-size: 1.2em;
}

/* 控制字体轮滑效果的下控件 */
.da-dots span {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.13);
    margin: 3px;
    cursor: pointer;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) inset, 1px 1px 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.secPad {
    padding: 60px 0;
}

/*About---Intro Content*/

#introText {
    padding: 50px 0;
    background: #fff;
}

#aboutUs .txtHead {
    background: #fff;
    padding: 20px 10px;
}

#aboutUs .txtHead .fa {
    font-size: 58px;
    color: #5E5E5E;
}

.tileBox p {
    background-color: #f0f0f0;
    font-size: 15px;
    color: #777777;
    padding: 20px;
    margin: 0px;
}

/*About---parlex*/

.bg-parlex {
    padding-top: 0px;
    background-image: url('../images/banner-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parlex-back {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.37);
    color: #FDFDFD !important;
}

/*Display*/

.services {
    margin-top: 10px;
    padding-top: 0vh;
    padding-bottom: 0vh;
    text-align: center;
    background-image: url(../img/services-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.services .col-md-4 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.flip-container {
    perspective: 1000;
}

/* turning on hover */

.flip-container:hover .flipper {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.flip-container, .front, .back {
    width: 100%;
    height: 350px;
    text-align: center;
    font-size: 30px;
}

/* flipping speed here */

.front .icon {
    width: 360px;
    height: 350px;
    text-align: center;
}

.front h2 {
    margin-top: 150px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.flipper {
    -moz-transition: 0.3s all;
    -moz-transition-delay: 5s;
    -ms-transition: 0.3s all;
    -ms-transition-delay: 5s;
    -o-transition: 0.3s all;
    -o-transition-delay: 5s;
    transition: 1.3s all;
    transition-delay: 0.3s;
    transform-style: preserve-3d;
    position: relative;
}

/* making the the other side hidden while flipping */

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* front side is in front of a back side */

.front {
    z-index: 2;
    color: white;
    transform: rotateY(0deg);
}

/* back side */

.back {
    transform: rotateY(180deg);
}

.back img {
    margin-top: 40px;
    padding: 10px;
    width: 100%;
}

.first-service .front, .first-service .back {
    background: url("../images/first-translate.jpg");
}

.second-service .front, .second-service .back {
    background: url("../images/second-translate.jpg");
}

.third-service .front, .third-service .back {
    background: url("../images/third-translate.jpg");
}

.fourth-service .front, .fourth-service .back {
    background: url("../images/fourth-translate.jpg");
}

.fifth-service .front, .fifth-service .back {
    background: url("../images/fifth-translate.jpg");
}

.sixth-service .front, .sixth-service .back {
    background: url("../images/sixth-translate.jpg");
}

.seventh-service .front, .seventh-service .back {
    background: url("../images/seventh-translate.jpg");
}
.eighth-service .front, .eighth-service .back {
    background: url("../images/eighth-translate.jpg");
}
.ninth-service .front, .ninth-service .back {
    background: url("../images/ninth-translate.jpg");
}

/*Display*/

/* footer */

footer {
    border-top: 1px solid #e5e5e5;
    padding: 45px 0;
    background: #fff;
}

.social a:hover {
    color: #c0392b;
}

.social a {
    font-size: 32px;
    margin: 0 10px;
    color: #c7c7c7;
}

/*Clients*/

@media (min-width: 768px) {
    .header .navbar-brand {
        padding-left: 0;
    }
    .navbar-nav {
        float: right;
    }
    .navbar-inverse .navbar-nav>li>a {
        padding: 5px 12px !important;
        border-radius: 5px;
        margin: 19px 0px;
    }
}

@media (max-width: 768px) {
    .banner-container {
        background-size: contain;
    }
    .team-member .member-img img {
        max-width: 100%;
    }
    .da-slider {
        height: 380px;
        width: 100%;
        min-width: initial;
        margin: 0px !important;
    }
    .da-slide h2 {
        font-size: 40px;
        text-align: center;
        width: initial;
        top: 10px;
    }
    .da-slide p {
        width: 65%;
        top: 65px;
        height: 50px;
    }
    .header .navbar-nav>li>a {
        padding: 25px 12px;
    }
    .portfolio-item:hover .folio-info {
        top: 0px;
    }
    .portfolio-item .portfolio-desc .folio-info {
        padding: 0px;
    }
    .portfolio-item .portfolio-desc .folio-info h5 {
        font-size: 1em;
    }
    .navbar-inverse .navbar-nav>li>a {
        font-size: 1em;
        padding: 5px 7px !important;
        border-radius: 5px;
        margin: 19px 0px;
    }
    .skilltitle {
        text-align: left;
    }
    #timeline {
        margin: 0px 12px;
    }
}

@media (max-width:760px) {
    .header .navbar-nav>li>a {
        padding: 7px 12px;
        font-size: 14px;
    }
    .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
        border-color: #A8A8A8;
    }
}

@media (max-width: 480px) {
    .banner-container {
        background-size: contain;
        margin-top: 67px;
    }
    .navbar-inverse .navbar-nav>li>a {
        font-size: 0.9em;
        padding: 5px 7px !important;
        margin: 2px 0px;
    }
    .navbar-toggle {
        margin: 17px;
    }
    .da-slide h2 {
        font-size: 20px;
        text-align: center;
        width: initial;
        top: 10px;
    }
    .da-slide p {
        font-size: 13px;
        width: 25%;
        top: 50px;
        height: 90px;
    }
    .page-section h1 {
        font-size: 3em;
    }
    .page-section h2 {
        font-size: 2em;
    }
    .page-section p {
        font-size: 1em;
        margin: 0 0 20px;
    }
    .portfolio-item .portfolio-desc .folio-info h5 {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .banner-container {
        background-size: contain;
    }
    .da-slider {
        height: 300px;
    }
    .da-slider {
        width: 100%;
        min-width: initial;
        position: relative;
        margin: 0 auto;
    }
    .da-slide h2 {
        font-size: 30px;
        text-align: center;
        width: initial;
        top: 10px;
    }
    .da-dots {
        bottom: 2px;
    }
    .grid .text-content {
        padding-left: 29%;
        padding-right: 2%;
    }
    .portfolio-item:hover .folio-info {
        top: 0px;
    }
    .portfolio-item .portfolio-desc .folio-info h5 {
        text-transform: uppercase;
        text-align: center;
        font-weight: normal;
        font-size: 10px;
        margin: 10px 0 0 0;
    }
    nav#filter li {
        display: inline-block;
        margin: 7px;
    }
}